//mixtype.cpp - - some type combinations
#include<iostream>

struct antarctica_year_end{
	int year;
	/*some really interesting data,etc*/
};
int main(){
	antarctica_year_end s01, s02, s03;
	s01.year = 1998;
	antarctica_year_end * pa = &s02;
	pa->year = 1999;
	antarctica_year_end trio[3];
	trio[0].year = 2003;
	std::cout << trio->year << std::endl;

	const antarctica_year_end *arp[3] = { &s01,&s02,&s03 };
	std::cout << arp[1]->year << std::endl;
	const antarctica_year_end ** ppa = arp;
	const antarctica_year_end ** ppd = arp;
	std::cout << (*ppa)->year << std::endl;
	std::cout << (*(ppd + 1))->year << std::endl;
	return 0;
}
